package com.ivo.activiti.bpmn;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.ExecutionListener;
import org.springframework.stereotype.Service;

/**
 * @author wj
 * @version 1.0
 */
@Service
public class ProcessEndListener implements ExecutionListener {

    @Override
    public void notify(DelegateExecution delegateExecution) {
        System.out.println("ProcessEndListener执行"+delegateExecution.getEventName()+":"+delegateExecution.getProcessInstanceBusinessKey());

    }
}
